# 输出字典 {"name": "Alice", "age": 25} 中键 age 的值
# 方式一：遍历
dirctory = {"name": "Alice", "age": 25}
for key,value in dirctory.items():
    if(key=='age'):
        print(f'age={value}')

# 方式二：直接取
print(dirctory['age'])

# 方式三：get
print(dirctory.get('age'))